home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++ / leda / 15 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  38 lines

  1. Newsgroups: comp.lang.c++.leda
  2. Path: uhog.mit.edu!uw-beaver!news
  3. From: soha@cs.washington.edu (Soha Hassoun)
  4. Subject: Modifying int value in v->data[0] in GRAPH
  5. Keywords: GRAPH data[0]
  6. Sender: news@beaver.cs.washington.edu (USENET News System)
  7. Organization: Computer Science & Engineering, U. of Washington, Seattle
  8. Message-ID: <DMI23K.4Io@beaver.cs.washington.edu>
  9. Summarry: Modifying int value in v->data[0] in GRAPH
  10. X-Nntp-Posting-Host: edison.cs.washington.edu
  11. Date: Fri, 9 Feb 1996 08:26:08 GMT
  12.  
  13.  
  14. Hi,
  15. I am new to LEDA and to C++.   I am running the  LEDA-R-3.3 package.
  16.  
  17. I am wondering if there is some supported way of modifying
  18. an integer value that is part of the node info (what v->data[0] points to).
  19.  
  20. I have a GRAPH<my_node_info, my_edge_info> G.  After I finish
  21. constructing the graph G, I would like to change the value of an
  22. integer K that is a member of the class my_node_info.
  23. Is there support for doing this?
  24.  
  25. I can't use a node_map or node_array because I would like to use the
  26. sort_node() function based on the modified value of K.
  27.  
  28. Help would be greatly appreciated.
  29. Thanks.
  30.  
  31. Soha
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.